#ifndef TFILESAVE_H
#define TFILESAVE_H

#include <QString>
#include <QThread>
#include <QDir>
#include <QFile>
#include <QDebug>
#include <unistd.h>
#include <QDateTime>
#include <QMutex>
#include <QTimer>
#include <QCoreApplication>

class TFileSave : public QObject
{
    Q_OBJECT
public:
    explicit TFileSave(QObject *parent = nullptr);

public slots:
    void on_saveFile(QByteArray ar,QString fileName);

private:
    QThread *thread;
    QDateTime *dateTime;
};

#endif // TFILESAVE_H
